package com.itheima.mall.dubbo.api.ums;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mall.commons.page.PageResult;
import com.itheima.mall.entity.domain.ums.Resource;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 后台资源表 服务类
 * </p>
 *
 * @author qinglang
 * @since 2022-07-05
 */
public interface ResourceService extends IService<Resource> {


    void create(Resource resource);

    void delete(Integer id);

//    PageResult getList(Map<String, Object> map);

    List<Resource> listAll();

    void updateRs(Resource resource);

    Resource get(Integer id);

    PageResult getList(Integer categoryId, String nameKeyword, Integer pageNum, Integer pageSize, String urlKeyword);
}
